<?
namespace app\member\controller;

use think\Controller;
use think\Session;

class Authorized extends Controller
{
    public $pageSize = 20;

    public function _initialize()
    {
        if (!is_login(Session::get('member'))) {
            $this->error('请先登录', '/member/auth/login');
        }
    }
}
